onResult

open fun onResult(success: Boolean, enabled: Boolean)(source)

This will be called with the results of the isPermissionRevocationEnabled API.

Parameters

success

false if there was an error while checking if the app is enabled, otherwise true.

enabled

true if permission revocation is enabled for the app, otherwise false.